package org.apache.cassandra.gui.component.dialog.listener;

import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;

public abstract class WindowCloseedListener implements WindowListener {

  @Override
  public void windowOpened(WindowEvent e) {
  }

  @Override
  public void windowClosing(WindowEvent e) {
    closing();
  }

  @Override
  public void windowClosed(WindowEvent e) {
  }

  @Override
  public void windowIconified(WindowEvent e) {
  }

  @Override
  public void windowDeiconified(WindowEvent e) {
  }

  @Override
  public void windowActivated(WindowEvent e) {
  }

  @Override
  public void windowDeactivated(WindowEvent e) {
  }

  public abstract void closing();
}
